// hash_pointer.rs

/// Generate a hash key for a pointer. The value pointed at by the pointer
/// is not used, only the pointer itself.
///
/// # Arguments
///
/// * `location` - The pointer
///
/// # Returns
///
/// A hash key for the pointer.
pub fn pointer_hash(location: *const std::ffi::c_void) -> u32 {
    location as u64 as u32
}
